package com.gxc.service.log.repository;

import com.gxc.service.log.entity.RequestInfoLogEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author GongXincheng
 * @since 2019-11-09 02:45
 */
public interface RequestInfoLogRepository extends JpaRepository<RequestInfoLogEntity, Long>, JpaSpecificationExecutor<RequestInfoLogEntity> {

    List<RequestInfoLogEntity> findByRequestIdOrderByIdDesc(String requestId);

}
